var mongoose = require('mongoose')

var schema = require('../config/schema')
var bannerSchema = mongoose.Schema(schema.banner)

// vacationSchema.methods.getDisplayPrice = function(){

//     return '$' + (this.priceInCents/100).toFixed(2);
// }

var bannerModel = mongoose.model('banner', bannerSchema)

module.exports = bannerModel;
